Carbon


KCReleaseItem

Header: Keychain.h Carbon status: Under Evaluation

Disposes of the memory occupied by a keychain item reference.

OSStatus KCReleaseItem (
    KCItemRef *item
);
item

A pointer to a keychain item reference. Pass the keychain item reference whose memory you want to release. On return, the reference is set to NULL and should not be used again.

function result

A result code.

DISCUSSION

You should call the KCReleaseItem function to release the memory occupied by a keychain item reference when you are finished with it.

VERSION NOTES

Available beginning with Keychain Manager 1.0

AVAILABILITY

Under evaluation for Carbon. Available in CarbonLib 1.0 and later when KeychainLib 1.0 or later is installed. Exported by CarbonLib 1.0 and later and by KeychainLib 1.0 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)